// 处理学生或课程ID重复录入的异常
public class InfoDuplicateException extends Exception {
    public InfoDuplicateException(String message) {
        super(message);
    }
}